CustomHeaderSettings Class [IIS 7 and higher]
Contains name/value pairs that are added to the HTTP headers in responses from the Web server.
Syntax
class CustomHeaderSettings : EmbeddedObject
Methods
This class contains no methods.
Properties
The following table lists the properties exposed by the CustomHeaderSettings class.
Name |
Description |
---|---|
CustomHeaders |
An array of NameValueConfigurationElement values that contain name/value pairs that are added to the HTTP headers in responses from the Web server. |
Subclasses
This class contains no subclasses.
Remarks
Instances of this class are contained in the CustomHeaders array property of the HttpProtocolSection class.
Inheritance Hierarchy
CustomHeaderSettings
Requirements
Type |
Description |
---|---|
Client |
Requires IIS 7 on Windows Vista. |
Server |
Requires IIS 7 on Windows Server 2008. |
Product |
IIS 7 |
MOF file |
WebAdministration.mof |
See Also
Reference
EmbeddedObject Class [IIS 7 and higher]
HttpProtocolSection Class [IIS 7 and higher]